package com.yscp.ysdemo.service;

import com.yscp.ysdemo.dto.LikeDto;
import com.yscp.ysdemo.dto.ResponseResult;
import com.yscp.ysdemo.dto.UserDetail;
import com.yscp.ysdemo.entity.Collect;
import com.yscp.ysdemo.entity.Focus;
import com.yscp.ysdemo.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Administrator
* @description 针对表【user】的数据库操作Service
* @createDate 2023-02-20 08:39:02
*/
public interface UserService extends IService<User> {

    ResponseResult savePersonalConfig(String config, Integer configType);

    ResponseResult getPersonalConfig(Integer userId, Integer configType);

    ResponseResult updateUserMsg(UserDetail userDetail);

    ResponseResult changeLike(LikeDto likeDto);

    ResponseResult changeFocus(Focus focus);

    ResponseResult changeCollect(Collect collect);
}
